package net.xju.entity;

public class GoodsType {
    private Integer id;
    private String name;
    private Integer level;
    private String parentName;
    private Integer flag;

    public GoodsType() {
    }

    public GoodsType(Integer id, String name, Integer level, String parentName, Integer flag) {
        this.id = id;
        this.name = name;
        this.level = level;
        this.parentName = parentName;
        this.flag = flag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}
